﻿using System;
using ProjectFootball.Foundation.Entities;

namespace ProjectFootball.Models.Entities.Main
{
    public class MatchV : BaseApprovableEntity
    {
        public DateTime MatchDate { get; set; }

        public Guid? CampaignGuid { get; set; }

        public Guid? VenueGuid { get; set; }

        public Guid Team1Guid { get; set; }

        public short? Team1HT { get; set; }

        public short? Team1FT { get; set; }

        public Guid Team2Guid { get; set; }

        public short? Team2HT { get; set; }

        public short? Team2FT { get; set; }

        #region Navigation properties
        public virtual Match Match { get; set; }
        public virtual Campaign Campaign { get; set; }
        public virtual Venue Venue { get; set; }
        public virtual Team Team1 { get; set; }
        public virtual Team Team2 { get; set; }
        #endregion
    }
}
